package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城会员银行卡
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("member_bank_card")
public class MemberBankCard extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 关联商城会员主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 银行卡账号
     */
    @TableField("card_account")
    private String cardAccount;
    /**
     * 银行卡持卡人姓名
     */
    @TableField("card_real_name")
    private String cardRealName;
    /**
     * 身份证号码
     */
    @TableField("card_card_no")
    private String cardCardNo;
    /**
     * 银行
     */
    @TableField("bank_name")
    private String bankName;
    /**
     * 银行卡名称
     */
    @TableField("card_name")
    private String cardName;
    /**
     * 银行卡图像
     */
    @TableField("card_image")
    private String cardImage;
    /**
     * 所属银行主键id
     */
    @TableField("bank_id")
    private Integer bankId;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
